package com.zhongba01.serviceribbon;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 中巴价值投资研习社
 *
 * @author : tangjianhua
 * @date : 2018/7/24.
 */
@RestController
public class HelloController {
    @Autowired
    HelloService helloService;

    @GetMapping("/")
    public String hello(){
        return helloService.getHelloContent();
    }
}
